package com.example.floatingpopulation.service;

import cn.hutool.core.lang.Dict;
import com.example.floatingpopulation.controller.dto.chartsDTO;
import com.example.floatingpopulation.controller.request.BaseRequest;
import com.example.floatingpopulation.controller.request.FloatingPopulationPageRequest;
import com.example.floatingpopulation.entity.FloatingPopulation;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

public interface FloatingPopulationService {
    List<FloatingPopulation> list();

    PageInfo<FloatingPopulation> page(BaseRequest BaseRequest);

    void save(FloatingPopulation obj);

    void update(FloatingPopulation obj);

    void deleteById(Integer id);

    List<Dict> countFloatingPopulation();
}
